<!--<div class="control_nav">
    <div class="control_nav_l">
        
    </div>
    <div class="control_nav_r">
        
    </div>
    <div class="clear"></div>
</div>-->

<div id="user_add_form">
    <form action="<?php echo site_url('admin/student/add/process'); ?>" method="post" autocomplete="on">
        <div class="frm">
            <label for="username"><?php echo $this->lang->line('username'); ?> :</label>
            <input type="text" name="username"  id="username" value="<?php echo set_value('username', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="email"><?php echo $this->lang->line('email'); ?> :</label>
            <input type="text" name="email"  id="email" value="<?php echo set_value('email', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="password"><?php echo $this->lang->line('password'); ?> :</label>
            <input type="password" name="password"  id="password" value="" class="input_large" />
        </div>
        <div class="frm">
            <label for="c_password"><?php echo $this->lang->line('confirm password'); ?> :</label>
            <input type="password" name="c_password"  id="c_password" value="" class="input_large" />
        </div>
        <div class="frm">
            <label for="firstname"><?php echo $this->lang->line('firstname'); ?> :</label>
            <input type="text" name="firstname"  id="firstname" value="<?php echo set_value('firstname', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="lastname"><?php echo $this->lang->line('lastname'); ?> :</label>
            <input type="text" name="lastname"  id="lastname" value="<?php echo set_value('lastname', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="address_1"><?php echo $this->lang->line('address'); ?> 1 :</label>
            <input type="text" name="address_1"  id="address_1" value="<?php echo set_value('address_1', ''); ?>" class="input_500" />
        </div>
        <div class="frm">
            <label for="address_2"><?php echo $this->lang->line('address'); ?> 2 :</label>
            <input type="text" name="address_2"  id="address_2" value="<?php echo set_value('address_2', ''); ?>" class="input_500" />
        </div>
        <div class="frm">
            <label for="address_3"><?php echo $this->lang->line('address'); ?> 3 :</label>
            <input type="text" name="address_3"  id="address_3" value="<?php echo set_value('address_3', ''); ?>" class="input_500" />
        </div>
        <div class="frm">
            <label for="distric"><?php echo $this->lang->line('distric'); ?> :</label>
            <input type="text" name="distric"  id="distric" value="<?php echo set_value('distric', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="city"><?php echo $this->lang->line('city'); ?> :</label>
            <input type="text" name="city"  id="city" value="<?php echo set_value('city', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="province"><?php echo $this->lang->line('province'); ?> :</label>
            <input type="text" name="province"  id="province" value="<?php echo set_value('province', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="postcode"><?php echo $this->lang->line('postcode'); ?> :</label>
            <input type="text" name="postcode"  id="postcode" value="<?php echo set_value('postcode', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="tel"><?php echo $this->lang->line('mobile phone'); ?> :</label>
            <input type="text" name="tel"  id="tel" value="<?php echo set_value('tel', ''); ?>" class="input_large" />
        </div>
        <div class="frm">
            <label for="student_group"><?php echo $this->lang->line('group'); ?> :</label>
            <select name="student_group" id="student_group" class="input_large">
                <?php
                    foreach($group_list as $val){
                        echo "<option value='{$val['id']}'>{$val['title']}</option>";
                    }
                ?>
            </select>
        </div>
        
        <div class="frm">
            <label for="paid_date"><?php echo $this->lang->line('paid date'); ?> :</label>
            <input type="text" name="paid_date"  id="paid_date" value="<?php echo set_value('paid_date', ''); ?>" class="input_large datepicker" />
        </div>
        <div class="frm">
            <label for="start_date"><?php echo $this->lang->line('start date'); ?> :</label>
            <input type="text" name="start_date"  id="start_date" value="<?php echo set_value('start_date', ''); ?>" class="input_large datepicker" />
        </div>
        <div class="frm">
            <label for="end_date"><?php echo $this->lang->line('end date'); ?> :</label>
            <input type="text" name="end_date"  id="end_date" value="<?php echo set_value('end_date', ''); ?>" class="input_large datepicker" />
        </div>
        
        
        <div class="frm">
            <label for="submit">&nbsp;</label>
            <input type="submit" id="submit" name="submit" value="<?php echo $this->lang->line('submit'); ?>" />
        </div>
    </form>
</div>

<div class="validation_errors"><?php echo validation_errors(); ?></div>